﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WiEWebViewer._Default" %>
<!-- Copyright (c) Microsoft Corporation.  All rights reserved. -->
<%@ Register Assembly="Microsoft.Live.ServerControls.VE" Namespace="Microsoft.Live.ServerControls.VE"
    TagPrefix="ve" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <style type="text/css">
    <!--
    body {
    background-color:#000000;
    margin:0px;
    }
    .shell {
    width:1300px;
    height:1000px;
    margin:auto;
    background-image:url(Images/bg.jpg);
    background-repeat:no-repeat;
    }

    .leftBar {
    margin-top:85px;
    margin-left:80px;
    float:left;
    width:180px;
    height:500px;
    background-image:url(Images/leftNavPanel_bg.png);
    background-repeat:no-repeat;
    }
    .settingSelect {
    margin-top:20px;
    margin-left:25px;
    float:left;
    }
    .rightBar {
    margin-top:95px;
    margin-left:10px;
    float:left;
    width:970px;
    height:600px;
    }
    .footer {
    margin-top:50px;
    background-image:url(Images/sqlServer2008Logo.png);
    background-repeat:no-repeat;
    background-position:right;
    width:100%;
    height:55px;
    float:right;
    }
    -->
    </style>
    <title>WiE Community 1.0</title>
</head>
<script type="text/javascript">
    function OnMapClientClick(sender,args)
    {
       // alert("In the future <Add Point Of Interest or Photo> based on click...");
    }
</script>
<body>
    <form id="m_mainForm" runat="server">
        <asp:scriptmanager ID="m_scriptManager" runat="server" EnablePageMethods="true">
        </asp:scriptmanager>
        <div class="shell">
            <div class="leftBar">
                <asp:UpdatePanel ID="m_updatePanel" runat="server">
                    <ContentTemplate>
                        <div class="settingSelect">
                        <asp:Table ID="m_tableFriends" runat="server"> 
                            <asp:TableRow>
                                <asp:TableCell>
                                    <asp:Label ID="m_labelFriendsHeader" runat="server" Text="Friends:"></asp:Label>
                                </asp:TableCell>
                            </asp:TableRow>
                            <asp:TableRow>
                                <asp:TableCell>
                                    <asp:CheckBoxList ID="m_checkBoxListFriends" runat="server">
                                    </asp:CheckBoxList>
                                </asp:TableCell>
                            </asp:TableRow>
                            <asp:TableRow>
                                <asp:TableCell>
                                    <asp:Label ID="m_labelTimePeriod" runat="server" Text="Time Period:"></asp:Label>
                                </asp:TableCell>
                            </asp:TableRow>
                            <asp:TableRow>
                                <asp:TableCell>
                                    <asp:RadioButtonList ID="m_radioButtonListSelectTimePeriod" runat="server" BorderColor="Aqua" BorderWidth="1">
                                        <asp:ListItem Text="Current Location" Value="_mostRecent"></asp:ListItem>
                                        <asp:ListItem Text="Last 15 minutes" Value="_lastFifteenMinutes"></asp:ListItem>
                                        <asp:ListItem Text="Last 24 hours" Value="_last24Hours"></asp:ListItem>
                                    </asp:RadioButtonList>
                                </asp:TableCell>
                            </asp:TableRow>
                            <asp:TableRow>
                                <asp:TableCell>
                                    <asp:Label ID="m_labelPointsOfInterestHeader" runat="server" Text="Points of Interest:"></asp:Label>
                                </asp:TableCell>
                            </asp:TableRow>
                            <asp:TableRow>
                                <asp:TableCell>
                                    <asp:CheckBoxList ID="m_checkBoxListPointsOfInterest" runat="server">
                                    </asp:CheckBoxList>
                                </asp:TableCell>
                            </asp:TableRow>
                            <asp:TableRow>
                                <asp:TableCell>                        
                                    <asp:Label ID="m_labelRefreshStatus" runat="server" Text="" ForeColor="Red"></asp:Label>
                                </asp:TableCell>
                            </asp:TableRow>
                            <asp:TableRow>
                                <asp:TableCell>
                                    <asp:Button ID="m_btnRefresh" Width="100%" runat="server" Text="Refresh" />
                                </asp:TableCell>
                            </asp:TableRow>
                        </asp:Table>
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </div>
            <div class="rightBar">
                <ve:Map ID="m_mainMap" runat="server" Height="600px" Width="100%" ZoomLevel="4" OnClientClick="OnMapClientClick" />
            </div>
            <div class="footer">
            </div>
        </div>
    </form>
</body>
</html>
